home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / printing / fpprnt.lzh / FPPRNT.TXT < prev   
Text File  |  1991-05-29  |  2KB  |  53 lines

  1.                                 FPPRNT
  2.  
  3.                                   by
  4.                             Frank Pawlowski
  5.                                05/29/91
  6.  
  7. I just recently purchased an HP Laser Jet IIIP printer and after reading
  8. about the rate at which the printer could accept data (55 KBytes/sec)
  9. thought that maybe the system would run faster without a print spooler.
  10. So I wrote a little printer character output routine that patches into
  11. the TRAP 13 vector to just output characters to the printer port a bit
  12. more efficiently than TOS does.  After some testing it is quite clear
  13. that printers that can accept data at a high rate do indeed perform better
  14. with the patched program.  The system I tested it on was a 1040ST with
  15. 4 Megs, TOS 1.4 and an ADSPEED accelerator board running in the 16 MHz
  16. mode.
  17.  
  18. The test I ran compared the built in TOS routine, SI Ramdisk/Print Spooler
  19. and my program FPPRNT.  The benchmark used was the time it took to output
  20. a moderately complex page using Pagestream.  The time I recorded was from
  21. the printing page message to the point that the print dialog box 
  22. disappeared (this is the actual time required to output to the printer).
  23. The results are as follows:
  24.  
  25.         Built in TOS routine            4 min, 07 secs
  26.         SI Ramdisk/Print Spooler        1 min, 10 secs
  27.         FPPRNT routine                         41 secs
  28.  
  29. Oh I did do one sneaky thing with FPPRNT, I put it at the end of my
  30. auto folder so that it was probably near the last program to steel the
  31. TRAP 13 vector and not suffer the overhead associated with other
  32. program that patch into the TRAP 13 vector.  Accessories however 
  33. get the last crack at stealing the vector.
  34.  
  35. Even though this benchmark was tested with an accelerator, I believe
  36. that similar improvements will be made with unaccelerated machines using
  37. even slower printers.  I used to have a Deskjet+ printer and noticed
  38. that the printer would be waiting for additional data so I think that
  39. this program would improve its performance.
  40.  
  41. To use this program just put it in your auto-folder, preferably at or
  42. near the end.  Test it out and see if it helps you out!
  43.  
  44. This program is free to copy and use at your own risk.  The author takes 
  45. no responsibility for bugs or any damage it causes to any user.
  46.  
  47. Any contributions will be gladly accepted!
  48.  
  49.         Frank Pawlowski
  50.         23 Hickory Drive
  51.         Amherst, NH 03031
  52.  
  53.